added some database checking to createQuizGroup test