Improve linelabel link tests