CSHARP-797: Added some more unit tests.