CSharp: Add several thread tests