Errors tests corrections