Add spec test for empty and nil url string

HYDRASIR-56