Fix up frequency tests.