added sudo to test script