Life cycle testing of lithium batteries for fast charging and second-use applications