added user model tests