Bounding box test