fix the test case failing in jenkins