How can "chest" and "chin" be anagrams of the same thing? An anagram is a rearrangement of the original letters, not just a list of the possible words that can be made.
Based on your "output" it appears that your "input" contained, at least, the letters:
c e h i n o p p r s t y
FWIW, to the best of my knowledge there are no single words containing exactly those letters, although the internet anagram server found 42 2-word anagrams of those letters.
By reading the example, I noticed that the word (or phrase in this case) "pythonic prose" is being used as the large word.
The line:
matching_anagrams = getAnagramsFor("pythonic prose")
So, chest, chin, and the other output are derived from the "pythonic prose" literal. So, that should explain the "mystery" word you were searching for.
Based on your "output" it appears that your "input" contained, at least, the letters:
c e h i n o p p r s t y
FWIW, to the best of my knowledge there are no single words containing exactly those letters, although the internet anagram server found 42 2-word anagrams of those letters.