added testing to cover download action failure