added socketTest