Pass correct base to parse_name; add another test for it