[NFC] NfcManager.handleNdefDiscovered test cases needed, possible refactoring, r=gweng

nit: please consider to use `activity` instead of vague `a` name.