ResponseExpirationResolver: fix initialDate resolving and add tests