test for inset-rectangles. fixed #146