added socket test scripts