test fix for history.js