Test IntentService and BroadcastReceiver inside an activity