Added more User model unit tests