Fixed an issue with the .net wrapp tests.