On the validity of quasilinear theory applied to the electron bump-on-tail instability