Fix tests for mouse changes