testDriverProvider = async (driverProvider) => {
  await driverProvider.setupEnv();
  const driver = driverProvider.getNewDriver();
  await driver.get('about:blank');
  const url = await driver.getCurrentUrl();
  if (url != 'about:blank') {
    throw new Error(`url was not about:blank, instead found ${url}`);
  }
  
  if (driverProvider.updateJob) {
    await driverProvider.updateJob({'passed': true});
    await driverProvider.teardownEnv();
  } else {
    await driverProvider.teardownEnv();
  }
}
Sanity integration tests for Driver Providers.

Assumed setup:
- selenium server running locally at http://localhost:4444
- selenium jar and chromedriver in protractor/selenium, where
  webdriver-manager stores them.
- if you want to test saucelabs, test with --sauceUser and --sauceKey
- if you want to test browserstack driverProvider, test with 
     --browserstackUser and --browserstackKey
You should verify that there are no lingering processes when these tests
complete.