Update unit tests for MasterSlavesAdapterFactory