Add assert.domEquals and its tests.