fix CSharpAmbience unit tests