Fixed bug 1098153 and added test for PulseListener