Added test for signal event generation.