Fix unit tests for fixed raycasting behavior. New tests to catch old
bug, test "CastRay" now in "test_raycasting.cpp".