Fixed bug on test generate question