Make navHistoryTests.js more reliable

issue #108