Testing write permission.