added a test for the near cache TTL,