Dictionary tests.