[#1832] Use unique temporary folders.


Problem description
===================

This branch add support for unique temporary folders by using the latest empirical package.


Changes description
===================

Update brink and fix tests.

This also include a small cleanup.


How to try and test the changes
===============================

reviewers @alibotean 

check that changes make sense.