added another test for objects