Treating on-line tests as assignments is one way.
An alternative is to make students come in to an exam room to do the online test, with a protor/invigilator watching what they do.
Also, what Itamar just said. If the quiz helps you practise exactly those skills you will need to display in the final exam, then there really is no point in cheating. You would only be cheating yourself.