[REVIEW ONLY DO NOT MERGE] Exportgroups

Is there a test for this in TestJDBC..... for this? If not lets add one.