Just a bunch of hacks to get around the deficiencies of MSTest.