Fix processLinks test