Test sequence comparison (object id based), breaks on Python 3

For Python 3 we cannot use the __cmp__ method anymore!