fix test: added mock ClassMetaData object