added obj mapper with function test