Added ErrorCollection tests