Update test around Client to have a better check on URL parameter

If the url is not a string, send a specific exception...
Then if the URL is an empty string, send another one...

Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>