made refactoring and added test for browser_instance fixture

Made changes related to https://github.com/paylogic/pytest-splinter/issues/5