Add member function to test (and ensure) validity of waveforms
Adjust tests to pass