Added test case and code for --help