assertTrue(stream.mergeWithPrevious());
assertEquals("test stream", stream.next());
stream.previous();
assertTrue(stream.mergeWithPrevious());
assertEquals("a test stream", stream.next());
stream.previous();
assertTrue(stream.mergeWithPrevious());
assertEquals("is a test stream", stream.next());
stream.previous();
assertTrue(stream.mergeWithPrevious());
assertEquals("this is a test stream", stream.next());