fix mock request for exceptions test