Hack to use done_testing() with Test::NoWarnings despite RT#66485