Just pointing out one of the many fundamental flaws in your solution. You do not wrap
on behalf of the client. You instead produce test files and let the client choose the driver that runs the tests through the harness. "Why one need to disable this?" Again, the best CPAN modules allow the client to configure what they want.