Equals verification

Test the equals() and hashCode() methods. However in the course of developing this, it occurred to us that the business value of equality for groups and users is solely the equality of the display- or user-name respectively. So please review this vigilantly.