Add null check for uninstall.

- Updated unit tests with null tests on install/uninstall.
Combine null checks into one unit test.
Correcting author e-mail.