initial tests for streamInput(), toBytesArray(), copyBytesArray()