Fix user model tests