Also define `__ne__` and update tests.