Fix test breaks resulting from recent changes.

Also add VS project for test with boost unit test framework dependency from nuget.