rectangleTest and PMD