Testing models. Fix errors.