file buffering tests

- adjust tcp tests to use message counters to indicate message received
  by buffer instead of testing for checkpointFilename which is no longer available

- move internals to buffered_output_test + a new, single QeueuRecord test