Only load the relevant tests for the current mode (inContext / unit)
Correct global context for unit tests
Remove beforeEach parameter for synchronous execution mode
Use _.throttle for test run throttling
Prefix debug and error messages with [jasmine]
Use single quotes for string
Handle syntax error when executing test code with vm.runInContext
Use automatic semicolon insertion