Deal with threading in tests