added test to allow sudo