See this thread:
Question For Pennsylvania Cobra Owners
I've been gone from PA for a little over three years, but I think the law is still the same. As long as you don't exceed 5000 miles per year, you have to go to the inspection and get the sticker but you're exempt from having to take the actual test. As usual, all they really want is your money.