Adds a test for raycasting.