Merge pull request #1 from AArnott/tests

Simplify MSBuild-based tests.
Adds static global property to emulate building inside Visual Studio.