MAINT: generalize the conditional expectation of MJP statistics and deepen the tests