Fix a bug in ObjectConstructor test.