beginnings of test for socket