added testing of links