Added new test for object references