fixed assertions for usergroup tests
made travis happy
Merge pull request #756 from sghai/fix-usergroup-test

fixed assertions for usergroup tests