Fixed .net api wrapper tests.