Fix bug in test collector and batch string

No match.