Add some testing of hashCode consistency
Merge pull request #11 from pfhayes/tests

Add some testing of hashCode consistency