Rename cfg.Debug to cfg.Test in minion as well, that's what it really is.