Added test for empty object