Testing a C# console application