Remove some useless tests.