adds new unit test for improved link replacement method