Mock the ActivityManager so we don't interfer with core apps

Fix #187