fixed some sudo tests