test io exception DocumentServiceImpl