Fix Memcached test, getMemcached() returns null when called before init

This lead to method_exists() always returning false.