Solve a test dependency bug reported in rt.cpan.org