Add simple testing method for equals and hashCode.
Merge pull request #5 from SnuktheGreat/equals-and-hashcode

Add simple testing method for equals and hashCode.