pass location through anagrams_in_word, made test utils