Add withSlave to test