Added section header write support to the skeleton image generation tests