to test the exit statement