override mouse state lookups in tests

If I'd had this stuff in my test harness earlier, two recent commits would have failed tests and given me early warning: ff88238ff1 ff88a2a927

Created by  Kartik K. Agaram  on June 12, 2022
JFFUF5ALUWPDM7IEDEZVAYG2SVXO334STONRGKVB3QKY2TT5QGBQC
Dependencies
In channels
main
Change contents