Bug 973132: WIP nfc_utils.js unit tests.