Gofmt every file
Add tests