Added unit test for amplitude ramping.