add top_5_word method, refactor init test