Updated test to check links go to right places