Added history.js jasmine tests