add check to IndexProviderTest#testTTL to avoid test if provider doesn't support document TTLs