Check that setScriptSource completes correctly when an exception is thrown. Running test: testIncorrectScriptId { error : { code : -32000 message : No script with given id found } id : } Running test: testSourceWithSyntaxError { id : result : { exceptionDetails : { columnNumber : 2 exceptionId : lineNumber : 0 text : Invalid or unexpected token } } }