Add np-test-gen, modify printing