testing of history.js