Improved compatibility with TAP 12.
Changed the way a TestProducer is registered.