small fix for habra url validator and added tests