Mapper and unit test