Add tests for CodeHeaderGenerator.