Add tests for some of the methods in MetadataTable

More to come soon...