CSHARP-700: Improve unit test so it's not timing dependent.