The test passes if, when moved inside the colored rectangle, the cursor looks like a gray cube AND is not a gray cube when outside.

If inside the rectangle the cursor does not change, or looks like a help cursor, the test fails.

White haloing around the cursor is acceptable in this test.