Removed forgotten testing code from BaseObject.