This should be defined as a private helper method for `ChoiceTextResponseTest`, not an inner method for this function.