added battery test