This should fix most of the remaining issues with tabs and spaces being mixed in tests.
Make EG(exit_status) the single source of truth for the exit status, instead of having two variables that we cannot really keep synchronized.