tests corrected , regexp used to detect links need to be fixe