Fix improper use of raise_error matcher