Awood/unit test fixes

Fix some unit tests that were broken if you didn't actually have subscription-manager installed.