Add test for object