Fix dictionary test.