Finish test program for Master and Slave classes.