test failed on Jenkins but not locally

because the String dates did not match