implemented feature https://github.com/globaleaks/GlobaLeaks/issues/882
fixed a clientside unittest