Add regression test for main loop failure handling (a main loop that never works)