add sudo to test script