Battery and charger test