add tests, remove erroneous link add __str__ for Link class
remove commented out code
remove unused var
remove unused var