testing if client responds to exceptions