Fixed broken .NET tests.