avoid using TestCase.assertItemsEqual()

The reason is that it is not avialable in the stdlib's unittest.