Add test for sudo