Add test for downloads rake task