Added exits to test runner