piecetransform tests and fix for a bug they caught :^)