Use _count_equal() instead of assertItemsEqual().

Fix the tests which break on py3k.
Rename _count_equal() -> _assert_count_equal() .