Playing with boost threads and unit test