testing write ability