Fix battery unit tests
Fix battery unit tests

fusioninventory/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,mohierf/fusioninventory-for-glpi