Added integration test which uses custom exception.
Added integration test which uses custom exception.

Had to modify the PostToRequestBin test too, but I'm not sure what the
point of that is since it will always fail. Maybe we should just remove
it?

PureWeen/refit,martijn00/refit,mteper/refit,PKRoma/refit,ammachado/refit,ammachado/refit,jlucansky/refit,onovotny/refit,jlucansky/refit,onovotny/refit,martijn00/refit,paulcbetts/refit,PureWeen/refit,mteper/refit,paulcbetts/refit