Added error check for urls that are not accessible and auto-tests