improve downloadOpenMLDataAsTask and add unit test