added broken link test code