CLI parser added with test cases