tests for the new option header parsing

Change-Id: I049d04d968115641e62f3bc4a31b2706cd5da677