Implemented equal test.