add parse_options type
add test cases with usage of custom parse options
add handling of parser options