Added resources attribute to _TestObject