Some refactoring of RosterView and skeleton for groups test