added and updated battery test