add test for object/map without callback