InvalidRequestHandler tests