Added more test cases for command line applications.