Adding routines and tests for BBox.