js_tests Made use of jasmine spies neater and omited realX and realY for now