[BUGFIX] Do not attach new listeners on each setupForTesting call
Merge pull request #4546 from mixonic/idempodent-setupForTesting

[BUGFIX] Do not attach new listeners on each setupForTesting call