change unit test to use sudo on save