unit-tests refactoring: added stubs with 'driver' object