add waveform view, fix test tab to switch between test module