handle unavaliable urls in test