Add the origin to the parsed name if the parsed name is relative. Also, add the checks for the combined length and fix a test for them.