added visualization code for bounding box to bezier1 test