Try to make cherrypy work with unit tests