improve code coverage in saucelabs test