Removes the exit used for testing