The effect of taking an exam is measure learning