some tests for dictionary creation