[Tests] Added a link detection test