Revisited some of the tests for history object
fixed a bug with history rewind()