Test for Android BroadcastReceiver