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

fixed #123