check that the value returned is an url. This effectively close bug #13.