Fix client socket test isWritable assertion