Adding example on how to test multi threaded code using