Add checks of charge.container reference to tests