Added socket test script