user_factory test added