Add a new test case for object analysis