Add equality test for deep changes