Adds an expected return code to the web check