tests/dictionary.py: fix the paths to the dictionary files in the tests now that they are not relative to the data directory