mapper tests