The final piece in a £2bn rail project is late, with less than half of the trains tested.