test for $a/$b warnings for all hash types