Adding thread name to test logging output

When tests are run in parallel logging output is intertwined. 
Adding thread name to test logging output and naming each thread after the test it is executing.