adding a quick unit test for EnergyStorageHandler