Tests exits correctly now