testing write vs send