add tests, remove erroneous link add __str__ for Link class