testing write permissions