Added config checks for test mode generate question