Refractored UserGroupTests to user app