Added testTotal_f_xirr