Add tests for refraction_angle and deviation