Add random words test, and fix focus after add word.