new equality test, reverted change of version