Generate a random point and test it for intersection.