add test for presence of sudo