Added test cases for WaveFormEngineServiceTest.

Still a lot more cases to add.