Fixed C# tests