Add copyright to test files
Generate Go file