waveform_example_test: add some function options to ExampleGenerate