INTEG-306: Add the configuration of UserStateService for unit tests