applied gofmt to the 'test' directory. Corrected a typo in doc.go