Fix tests for Python 3.3 (assertItemsEqual has been renamed to assertCountEqual)