Remove duplicate analytics helper.

I added `MockLeek` in #1627, and only just realized that we already have a `MockAnalytics` object (that is much better).