[ASan Win] Fix a couple of warnings in tests and enable -WX