Increase ClassMetadata test coverage