refactor quit browser on tearDown