Fix dict test.