Rewrote .NET unittests as a regular application
dotnet unittests are now running stable
Added unittests for approx. matching