added testing on user model