Testing electronic control module

Some auto parts stores have a tester. Other than that I don't know unless you have a known good operating car, take off the good one and put the one in question on it.