Added test for set object