run certain tests only if ES is present