Imported working (if somewhat limited) port of PipeTest from Opal Kelly samples.