Adding socket test