test fix TC agent may create mongo instance again