... so that we can test its behaviour when it raises. Also pull it out to the top level so that I can use it from other test classes.