Added raycast and test.