fixed typo in socket test