move the CHECK flag into pipetest.c

this flag, when set, makes the test actually look at the data that
comes through the pipe, and also it tries reads/writes of various
sizes, not just the max size