fix mapper tests