Add tests for METADATA