added retrieve groups test