CSHARP-943: Added more unit tests.