Added the test for getting words

Getting the 26 words in output file