Created slaveTest

New main created for testing out slave functionality