Updated the test for the changes in Metadata interface.