ENH: test main_noexc instead of main in function tests.