Bugfix for Dictionary test cases (from 1 to 6).