Following the 2018 Rhino dev day, I have put together a repo providing an example of how to do unit testing of RhinoCommon from within Visual Studio. This approach builds on the new headless mode included with the latest WIP 7 release. Thanks to @stevebaer for the heads up.
Hope some of you find it useful.