[unit-testing] Unit Tests not discovered in Visual Studio 2017

In my case, the problem was that the project type was set to static library (lib), and it should be a dynamic library (dll).