fixed blank strings incorrectly returning true for -isURL

also added tests