Add copyright headers
Make FormatHelper public
Fix tests