Add fail/test metadata tests from Alexandre Montplaisir

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>