Use assertEquals instead of assertItemEquals in tests

Some versions of Python 3 (in Travis CI) seem not to have assertItemEquals.
Here the list is sorted, so there is no issue at all.

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>