added test for exit modes