Add more tests for CommunityGenerator.