Improve spooler tests

* Improve .INI
* Clean tasks at exit