This (and similar cases of this test) are going to fail in a bunch of cases. F.e. wordlist updates, slight algorithm changes. Checking if frequencies are exactly the same should not be done here, only in comparison with themselves (e.g. `i` is before `n` in the array).

Also I don't think this passes jslint.