Add clearHistory(). Fix SynchroniserTests that were broken earlier.