Added test for comparison, fixed behaviour of __eq__ to correctly reflec...

...t object equality.
Good points. I'm accepting the pull as-is.