Added tests for executeScript

Closes #457
Merge pull request #469 from stof/execute_script

Added tests for executeScript