refactor LongBTreeTest to JUnit test, make fanfactor configurable and set it low for unit tests, and protect from garbage overload in certain tests