added test for intersectSphere(sphere) method