Modified automatic test for boundingBox