Added test for comparison, fixed behaviour of __eq__ to correctly reflect object equality.
Merge pull request #5 from JustusW/master

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