Fixing broken test and made ScriptExecutor more testable in the process
Merge pull request #21 from robdmoore/fix-broken-scriptexecutor-tests

Fixing broken test and made ScriptExecutor more testable in the process