Sounds like your mechanic has done the proper diagnostic proof. Although, it would be good to re-install the original ECM and re-try, just to make sure it was not a connector issue.
There is a place or 2 that will repair ECM's for less that what a new one costs. . . . there might be a few...