addQuestion function test