Add tests for the Ray class.