Check if varnish is enabled before test config

Submitted by:	Marcello Coutinho