Add tests for getFreq (exporting putKeyword!)