Modified tests to remove many thfolder.thindex. Added link tests.