adding socket test