Fixed dictionary list comparison in tests for Python 3.3.3