Add test of polygonizing for #20.

No disk files used in this test :)