Fix test code on VS2010
Merge pull request #166 from barnson/UnbreakTestsOnDev10