refactor PMA_mult_submits and Add UT