Some work on insaffalike tests

This needs work - one of the examples
outputs an invalid tensor and I'm not sure
the Zn/Zt thing is working right.
More testing work - c.f. JVs code
Some debuging output.