Initial testing framework.

v0 is a straight-up copy from input to output.