Added unit tests for the "exit" function.