tests/dictionary: rework the test to just use the tts::dictionary class