Exit properly on every testing type