Fix object root identification (tests)