hard test with exiting