Issue #2374329 by djdevin: Write tests for random questions.