Fix link tests