added socket test