Learning is a skill, and like other skills, takes time and practice to improve. Testing is a very efficient tool to improve learning. It’s definitely superior to memorization or plain re-reading of the lesson material. There are studies demonstrating that repeated retrieval can enhance long-term learning.
“One of the most consistent findings in cognitive psychology is that testing leads to increased retention more than studying alone does.”