These tests would run much faster if they could open the new window once for the whole collection and close it at the end. I'm not sure if there's any good way to do that, though.