Reorganize auto tests.