After the fix #658c7f for lenient parsing of dates, the error message raised uses an HttpHeaders-formatted date. As a result the test verifying the error message fails in the beginning of the month between 1-9 because it's formatted slightly differently.