small changes for socket test