객체들끼리 비교할 때는 "equals() and hashcode()" 가 있어야한다. (alt + insert)
equals() and hashcode() 추가하면 아래 이미지와 같고
test 코드가 통과가 된다.