Error corrections based on the first test