add test for parser_type param