isEqual Method test sample