More work on merging @RG and @PG tags into header.
Unit tests for merge