fix test for bounding box being convex
add SPIN as a valid sw_mode for SCUBA-2