Add tests for dead memcached client.
Simplify source get logic.