Add test interface in main_qed_dirac