An old steam engine train has been reconditioned.