XD-1379 Fix random test config

- Moved the static methods in RandomConfigurationSupport to
instance methods
- Allow testMessageBus injection only in case of non-local transport