Add test for sudo class