added MasterSlaveInterface initiation, changes unittest accordingly