Sudo unit tests