Fix test checking for error propagation.