Update test_freq_dict