While it was in the dry dock, a full two-year maintenance check was also carried out, KiwiRail said.
"Over the past two weeks she has also undergone a series of rigorous sea trials off the Singapore coast. These identified some commissioning issues with the overhauled steering gear, all of which have been successfully rectified by the manufacturer's service representative," the company said in a statement this morning.
Other equipment, including propellers, propeller shafts, steering gear, rudders, gearboxes, motors, bearings and stabilisers were also upgraded or replaced.