Remove redundant test.