Please use `assertRaises`, rather than catching the exception and then calling `fail`