user/tests: Add test for low level mouse hooks.