fix runPreloadedTests to accommodate changes made to nightwatch prior pull request