Use approxEqual rather than == for doubles. Resolves most of the difference between BP and BP.onJunctionTree