Issue #3152855 by atbserg: Replace assertions involving calls to is_object() with assertIsObject()/assertIsObject()