Fixed test by clearing deprecation warnings in Link.