skip redis tests if connection fails.

Additionally added the ability to
configure the redis instance as environment variable
in phpunit.xml.