Testing can actually have a direct effect on learning:
http://www.nytimes.com/2011/01/21/science/21memory.html?_r=2...
http://www.nytimes.com/2011/01/21/science/21memory.html?_r=2...
The problem with this study is they measure learning using test. Of course the groups that had taken tests while memorizing scored better, they got practice.