fix tests for python3.3: do not assume order on sets/dict keys:
sesame.py: enforce documented support for order of dbs
query.py: format parameter is preferred order