generate test questions