Factor out FakePackageManager and use for IntentResolver test. Now passes when run on my phone.