Test cases of Person with correct implementation of hashcode and equals.