add testcase if comman line starts with --
add testsuite case checked against linux getopt
fix failing test case