test for slave