test ported to VS2010