test with bounding box