Test socket