Although memctest already provides helper functions for launching a real memcached instance per test, it would be nice to have an option to use a mock, which can then be configured to return errors or specific values, enabling the direct unit testing of unhappy paths.