refactor: finer tests conversions to testify in pkg/cmd Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>