fix tests, go fmt