Add a couple of tests for the nasty linking helpers