Refactored tests for ShellScriptPlugin

This patch updates the tests for ShellScriptPlugin and adds tests for the new fileexecutils.py module.