Adapt all our tests and examples to the new initialization api.
In particular, we're testing corner cases with empty rectangles here.