Added initial unit tests for ScriptExecutor