add Substring with concatenation of all words and its test