If they did the work replacing the part with the GM part, they should have diagnosed and replaced it for free. Even if they sold you the part and you replaced it, understand that you can raise a stink with the service manager when something like that happens and get them to comp you some of that $200(!) diagnosis.