It is decided that a 400 is a NetworkException

Make this test expect that.
Don't raise caught exception by ref, just reraise.