tests: Fix a test which specifies expiration date.