fixing test and validating POJO generationr