Update javadoc
Fix bug with some test

The DbRegister should be now thread safe
Each ThreadLocal has the same behavior but on multiple thread
Add the thread name in the work directory path to have unique path