Fixed some rule violation in IndexPageBaseTest.java and removed some ruled from pmd in build.gradle