Ensure browser is closed when running tests.
Moved to qcumber.