Tests local scripts plugin

Added tests for the new LocalScriptsPlugin.