Numerical investigation of the flow in a two-stage axial test-turbine with open and closed cavities