Fix a pb with an existing temporary directory when deleting it in the test ViewServiceTest