first jasmine-node unit test with spyOn($, 'get'). The test will only work with jquery <= 1.8.3