catch ResponseCodeError
some simple unit tests