dictionary: simplify dictionary entry construction
tests/dictionary.py: fix the tests

The transcription for some of the words used in the tests has
changed, so update the tests to match the new transcriptions.