First unit test for ByteStreamProcessor