fix user creation in generic-agent provider
refrase test conditions