Add new methods to test sudo cases