CHG: add test mode support on mc_apache states