Catch error in the test, not the code.