js_tests Improved event tests with regards to realX and realY spies