Error fixed on stats collector controller test