A test for _formatHeader