I believe you need to call the Aspen test client `.GET` with `raise_immediately=False`. That will ensure that the raised Response goes through the rest of the website algorithm, including nice error handling.