updates to user model unit tests