Added gofmt formatting and a test set