Added test to exit string