connect in test