Check that setScriptSource does not crash when source is unchanged