add test for mouse trigger