Test functions

Test functions to make it easier to analyze waveforms