testing privleges implementation