finalized template mapper tests