Added tests for DefinitionMetaData