History api js tests

updating tests for Querystring.js with mock window.history