testing download functionality