modify test code

modify wmain.rs  some error i can't fix ....