Added crosslinked object checks to tree tests