made desired state server more test friendly