Improve the MasterSlaveConnectionTest.

Now the tests of the MasterSlaveConnection actually use different parameters
for different connections. The previous setup had a master and two slaves, but all
shared the same configuration. Now, the master uses the main configuration and
the two slaves share a different configuration. This enables more robust testing.