test with exit