Fix return value and thus fix test
Fix test
Fix unit tests (regression in commit adding getOutputStreamUnbuffered)