Remove exit() calls to avoid bad testing to catch SystemExit exceptions.