fixed test that was dependent on dict.items() order
Merge pull request #124 from wasade/issue123

fixed test that was dependent on dict.items() order