R: add a unit test that downloads and checks tasks