Added a test to check for cache expiry overlap