Updated usergroup tests to use api for user create and added few -ve tests

- test are updated to use api for user create and to use factory implementation
- added few negative tests
- made all tests data-driven
Hummn.actually this part of code is from UI factory which is still needs to be updated. I'll update the docstring for `make_usergroup` now and will raise new PR for rest of the entities later.