Testing write privileges