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
Same as before.