fix issue 2203
automated tests for removeEventSources