tests for WordsMap