NF: test for queryengine i/o