geom_rect: added default colour, bug fix for setting xmax, ymax outside ...

This started as a unit test update, but I've included a couple bug fixes. I also tried making a "nice" image.