Fix some WebTest.cs's methods