extractor.go test coverage needs improving
extractor.go test coverage needs improving