Added test for object arguments.