Add ByteArrayInputStream and ByteArrayOutputStream classes.
Add unit test for testing them.