Added more tests for ScriptExecutor.