tests with connect