Add unit tests for functionality that wasn't unit tested.
Move FrecencyTimer to the HistoryFilterModel

This timer has nothing to do with the HistoryModel and it only
calls a function in the HistoryFilterModel so the fact that it is
in this class is confusing.