tests: added minimal testcase for WordsDictionary