testing dictionary of letter frequencies