tests for mapRowToEntity and findEntities