Skip socket test if user undefined