Jasmine tests run properly using requirejs