finished equality test