Regression cleanup: Allow an internal test to be marked as expect_error