Add missing tests to auto_tests/misc/local, and reorganize tests.