winhttp/tests: Only advance to the next notification test if the function is ok.