Fix test failure in jenkins