Add test for script engine init.
Implement re-init of ScriptEngines on call to reset.
Merge remote-tracking branch 'origin/master'