test bounds of a sphere