added acceptance tests for sockets