RectTest tdd and equals method.