added stream package and ByteArrayInputStreamOutputStream to
inject/output directly into a ByteArrayInputStream