add user factory to user test