JAccessTest::testGetGroupsByUser

Tests the JAccess::getGroupsByUser method.