Added test for objects, then test for object[name]