Add assertions that check by equality.