update unit test and python tests for change in electron pair production