Support multiple projects in VS unit tests

Close #640.