Add unit test for UpdateCase