Add new test for parsing OOo A1 style single references.

Change-Id: I7644338bd536d16777d330a64764eb26ecda5da5
Avoid using an extra buffer when the name doesn't contain double-quotes.

Change-Id: Idc76ccad114e5964f80c5a3c8c8da2a64c1a2b86