Added unit tests for the --sudo-password option