Add tests from Etienne (enum metadata tests)

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