Added user model tests