fix user model tests