OptionsParser: extract the method to split arguments for grnline or groonga
test: fix the order of expected arguments and actual ones
test: use const OptionsParser::SEPARATOR