cleanup NdefRecord
start of unit tests