RepositoryMapper and test