Added test when TTL has expired
[HttpKernel] fixed default TTL not applied under certain conditions