There are other options, though they're not exactly elegant. One is to put most of this library in a part, and part that into the test rather than import. That used to work at least. The other is to use mirrors to get at a private field. Then there's this.

Just FYI. I'm ok with this because `getNode` doesn't exist on the `TreeSet` interface.