Add unit test for WaveDataReader