Research-Based Game Design for Serious Games

It is very easy to gamify or incorporate games (virtual or otherwise) into a lesson plan to improve learning and/or motivate learners to be engaged. How can we ensure that they not only improve learning but cause learning as well?