Lithium iron phosphate battery quality assurance