Fixing test that fails in jenkins