add test for object