Fix errors tests.