Added unit test for pulse detector.