CSHARP-975: Added tests.