Indeed. But testing in general, as it is done currently, in modern formal education, discourages deep learning as opposed to shallow learning.
Why? Because tests with marks implore students to start learning at max 3 days before the test, thus getting knowledge into short-term memory and not long term memory. Rendering the process of learning virtually useless even though they "pass" the curriculum.
I know this because I was such a student, and saw it all around me with virtually every other student I met, and I was in HAVO, a level not considered "low".
It does not help that teachers, or the system, expect students to know how to learn (efficiently) without it ever being taught to them.
My message to the system: start teaching students how to learn the moment they enter high school