Fixing memcached tests

My previous attempt fixed it locally, but broke the travis builds. Now passing both locally(skipping this test) and on travis. The AppVeyor build did overwrite the travis fail, sorry for that.