tests: remove use of connect