stream.append("be", "or", "not", "to", "be");
stream.mergeWithNext();
stream.seekEnd();
stream.previous();
stream.previous();
stream.mergeWithNext();
smap = getSortedMap(stream.getTokenMap());
assertEquals("[not, or, to be]", smap.keySet().toString());
assertEquals("[1, 1, 2]", smap.values().toString());
stream = null;
}