Add doctest demonstrating new equality operator