Replace nt with nq in various places throughout

Manually change testdata.nt to testdata.nq.