adding unit tests for querystring pushState and replaceState