implemented test case for command line arguments