Fix tests on Python 3

As usual: dict keys are not in the same order. So far we only had
dicts with one key in those paths.