added test case for removing listeners in signal while dispatching (which fails)
fixed failed signal test