Fix broken go test switch