stream = new TokenStream("this");
stream.append("is","a","test","stream");
assertFalse(stream.hasPrevious()); //start of stream
stream.seekEnd();
assertTrue(stream.hasPrevious());
stream.previous(); //after this
assertTrue(stream.hasPrevious());
stream.previous(); //after is
assertTrue(stream.hasPrevious());
stream.previous(); //after a
assertTrue(stream.hasPrevious());