fix incomplete unittest
update so memcached works with localhost