Update BaseCommunitiesTest.java

backporting change from test