fixed nfc tag simulation and additional tests