Fix bug in test collector and batch string