rewrote a test that checks for a corner hazard