Fix issue with scale out and groups.

- Don't add the same signals to the list since scaleout uses these
  to process messages.
- Added tests for adding to groups multiple times for scaleout and non scaleout.
- Added initial infrastructure for testing scaleout combinations.

#1819