Don't get a test pipe.
Find out the actual code (Pxxx) and report back. Something else could be at fault here. Catalytic converters don't go bad all of a sudden. You said it smells like fuel, maybe you have a failed injector that dumped fuel into the exhaust.