[tests] fix argument parsing in onset and wavetable