added test for link, fixed output in echoStr test