added initial testing of nfcTagFragment
fixed handleDetails behaviour and some tests
fixed additional tests