fixed sudo tests