Added unit test for the Object scenario