Hydrogen for fuel cell testing and heat recovery