Bug 820738 - call populateCache() before overwriting history with test data to make sure we're not enqueued with an in-progress populateCache() call; r=mak