RectTest tdd and ctor method.