Added tests for createProcess and injectScript