These are the unit tests that test for the offscreen case that was previously causing the infinite loop.