use Test::More tests => 2; BEGIN { use_ok( 'Backend::A' ); } BEGIN { no warnings qw( redefine ); use_ok( 'Backend::B' ); }