Test when origin contains a path.