add test for skipping sudo