@redundant = grep {++$counts{$_}==2} @test;