added the idea of a factory in the testPage so that one can advance questions
merged with conflicts