different test syntax for sudo detection