search term for users and groups may occur anywhere in the name or displayname, not just in the beginning
add tests
return int, not string
clean up created groups after testing, and correct parameter order
extend Dummy user and group implementation to pass tests
loop over usernames, not passwords
Merge pull request #9156 from owncloud/solve-8959

search term for users and groups may occur anywhere in the name or displ...