Fix Test: Only output the metadata when the validation test fails

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>