Use WebDriver as value in tests
Fix issues related to objects lifetime