Test socket responses