more ports of history.js tests