[Contacts NFC] Unit tests for nfc.js