make test cases  pass