#368 (closed): Testing exit() were not correctly written. Assertions were not tested, so tests would pass even if they shouldn't.