fix links test