[Console] Add missing test cases for application exit code