Add tests for ChargeManager