fixed subfoldered tests link paths

fixed a bug with links in subfoldered tests from my last PR