Failing test for splitBy when delimiter appears at end of stream
Fixed splitBy when delimiter appears at end of stream