CSHARP-664: Converted some tests to use the new high level API instead of using #pragma to ignore the warning when GetServer is called.