(flexpath:reg-test:refac): simplified switching between MPI and FLEXPATH
methods