made the tests not open a socket