use assert_bbox_equals for bbox comparision
make tests more robust for different PIL versions