correct errors in the test code,and it's passed now