added command-line flags
Added command line parameter description
Added more test cases