unit test  case issue fixed