invigilator None error fix in test certificate