added test case for simple object type