Fix the dictionary unit test.