jasmine tests for require js