Adds another thread-safety test.