add integration level round-trip test
refactor, pull out helper class ByteArrayServletOutputStream
also check for path
Merge pull request #15 from jay-hodgson/release-1

SWC-1875: add integration level round-trip test