Fixed the tests for header support in the .NET client

#1362