Fixed some pmd violations in ModelTest.