test: fix VC++ warning C6011
test: fix VC++ warning C4244