Add a lame delegation to lame.example.org with only an A record in the additional section; on failure, this will trigger a retry with AAAA, which will loop. Test that dig returns SERVFAIL, in addition to confirming that named doesn't hang on shutdown.