Remove reference to BoxIter
Fix comparisons in tests.