Updated testsocket