build_jointree tests now working.