Clean test cache on tearing down ApiTestCase
Move key details handler to 'upper' handler (re heynemann/holmes-web#25)