save listeners into slaveState

Then empty. See createTest(): if (testName == null || testName.isEmpty()) { return null; }