Bug 970763 - tests and fixes for memcached backend edge-cases; r=telliott