Fix doc in tutorial and enable testsetup and testcleanup to support transparent uses of external ressources in doctest