Remove unused diagnostic + dead test for it.