added test cases for object parse