BS-8687 : Connector executor service is not well restarted after tenant pause->resume

- Add unit tests