extracted package detection to extension method
extracted helper functions for tidying up test code
refactoring more boilerplate code away
and now the test passes
refactor to introduce common methods
making the uninstall more robust when it fires in the background
getting the uninstall tests passing now using more Rx-friendly patterns