TestCases for right Equals and hashcode