update risk eb unit test