The benefits of testing for learning on later performance