Commiting rectangle + unit tests