Add tests for mouseposition