Little update. After a time I came back to the testing problematics and solved most of the problems with the Rhino.Testing
library.
mcneel/Rhino.Testing: NUnit dotnet unit testing for Rhino3D (github.com)
I had few problems with implemention but it was mostly my own mistakes.
Rhino.Testing - Rhino Developer - McNeel Forum
Thanks
Ondřej