test(nra): fix and add tests
test(nra): fix and add tests