Stub `browser.quit()` in tests

Without stub it fails on travis