added hashCode() and test for it.
2 files changed