moved the test question maker out in helper.php

moving the test question maker code so that I can use it in combined question type