Checkstyle and PMD correction. Junit