added testing for links