Functional tests: fix bug with runing all tests; delete close driver method