Fix formatting and let memcached be terminated at the end of the test run