Add unit test, fix is isIntersectionSphere

Add missing space
Fix isIntersectionSphere
Addunit test for isIntersectionSphere