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