fix fail of test on VC2008