add test for mapper