test(nra): fix and add tests