modified the test code

modified the test code